//进行简单的分词
export const splitText = (text: string)=> {
    const regex = /(\-?\d*\.?\d+%?)|([a-zA-Z]+)|([\u4e00-\u9fa5])|(.)/g;
    return text.match(regex);
}

// const result = splitText("3月CPI同比-0.7%");
// console.log(result);